<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <script src="https://cdn.jsdelivr.net/npm/vue@2.7.10/dist/vue.js"></script>
  <title>Document</title>
</head>
<body>
  <div id="app">
      <h1>{{msg.name}}</h1>
      <p v-text="msg.url"></p>
      <p v-html="msg.url"></p>
  </div>
  <script>
    const vm = new Vue({
      el:"#app",
      data:{
        msg:{
          name:'江西',
          url:
          `
          <a href='#'>欢迎光临</a>
          <h1>多行字符串</h1>
          <textarea>
            多行文本
            </textarea>
          `
        }
      }
    });
  </script>
</body>
</html>